<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="se"
	uri="http://www.springframework.org/security/tags"%>
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="resources/js/main.js"></script>
<div class="main_nav">
	<div id="menu_1_div">
		<ul>
			<li id="menu_1">병원소개</li>
		</ul>
	</div>
	<div id="menu_2_div">
		<ul>
			<li id="menu_2">의료진소개</li>
		</ul>
	</div>
	<div id="menu_3_div">
		<ul>
			<li id="menu_3">진료예약</li>
		</ul>
	</div>
	<div id="menu_4_div">
		<ul>
			<li id="menu_4">마이페이지</li>
		</ul>
	</div>
	<!-- <ul class="nav_style" id="navul" onmouseenter="mmoverSub()"></ul> -->
	<!-- <li id="menu_1">병원소개</li> -->
</div>
<div id="menu_1_form" class="menu_1">
	<ul>
		<li>
			<dl>
				<dd>
					<a href="medicalceo.do">병원장 인사말</a>
				</dd>
				<dd>
					<a href="gil.do">찾아오시는길</a>
				</dd>
			</dl>
		</li>
	</ul>
</div>

<div id="menu_2_form" class="menu_2">
	<ul>
		<li>
			<dl>
				<dd>
					<a href="doctor.do?dept_id=Dep015">내과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep016">외과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep017">흉부외과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep018">정형외과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep019">성형외과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep025">산부인과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep020">비뇨기과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep024">안과</a>
				</dd>
				
				<dd>
					<a href="doctor.do?dept_id=Dep029">신경외과</a>
				</dd>
			</dl>
		</li>
	</ul>
	<ul>
		<li>
			<dl>
				<dd>
					<a href="doctor.do?dept_id=Dep035">이비인후과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep034">신경과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep021">가정의학과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep026">피부과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep022">재활의학과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep027">진단검사의학과</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep028">장기이식센터</a>
				</dd>
				<dd>
					<a href="doctor.do?dept_id=Dep023">정신과</a>
				</dd>
			</dl>
		</li>
	</ul>
</div>
<div id="menu_3_form" class="menu_3">
	<ul>
		<li>
			<dl>
				<dd>
					<%-- <se:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN"> --%>
					<a href="reservation.do">예약하기</a>
					<%-- </se:authorize> --%>
				</dd>
			</dl>
		</li>
	</ul>
</div>

<c:set var="user_id" property="${LoginUser}"></c:set>
<se:authentication property="name" var="LoginUser" />
<se:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN">
	<div id="menu_4_form" class="menu_4">
		<ul>
			<li>
				<div>
					<dl>
						<dd>
							<a href="reservationok.do?user_id=${LoginUser}">예약현황확인</a>
						</dd>
						<dd>
							<a href="myinfo.do?user_id=${LoginUser}">회원정보수정</a>
						</dd>
					</dl>
				</div>
			</li>
		</ul>
	</div>
</se:authorize>


<!-- <div class="drop_menu" id="menu-area" onmouseleave="mmoutSub()">
	<div class="drop_in">
		<div class="drop_margin"></div>
	</div>
</div> -->
<div class="main_nav_under_line"></div>
